<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>生产智控-{{$title}}</title>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <link rel="stylesheet" href="{{asset('bootstrap/css/bootstrap.min.css')}}">
  <link rel="stylesheet" href="{{asset('adminlte/css/AdminLTE.css')}}">
  <link rel="stylesheet" href="{{asset('ionicons/css/font-awesome.min.css')}}">
  <link rel="stylesheet" href="{{asset('ionicons/css/ionicons.min.css')}}">
  <link rel="stylesheet" href="{{asset('adminlte/css/skins/_all-skins.css')}}">
  <link rel="stylesheet" href="{{asset('mdui/css/mdui.css')}}">
 
  <link rel="stylesheet" href="{{asset('eui/lib/theme-default/index.css')}}">
  <script type="text/javascript" src="{{asset('vue/dist/vue.min.js')}}"></script>
  <script src="{{asset('vue-resource/dist/vue-resource.min.js')}}"></script>
  <script type="text/javascript" src="{{asset('eui/lib/index.js')}}"></script>
  <script type="text/javascript" src="{{asset('mdui/js/mdui.min.js')}}"></script>
  <script src="https://unpkg.com/element-ui/lib/index.js"></script>
  <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-default/index.css"> 
  <link rel="stylesheet" href="{{asset('eui/lib/theme-default/table.css')}}"> 
  <link rel="stylesheet" href="{{asset('eui/lib/theme-default/dialog.css')}}"> 


</head>
<body class="hold-transition skin-blue-light fixed   sidebar">
<!-- Site wrapper -->
<div class="wrapper" v-cloak style="height: 100%">
  <header class="main-header fixed ">
    <a href="#" class="logo">
      <span class="logo-lg"><b>生产</b>智控</span>
    </a>
    <nav class="navbar navbar-static-top">

      <div class="navbar-custom-menu">
          <ul class="nav navbar-nav">
              @if (Auth::guest())
                  <li><a href="{{ asset('/login') }}">登录</a></li>
                  {{-- <li><a href="{{ asset('/register') }}">注册</a></li> --}}
              @else
                  <li><a class="text-bold ">{{ Auth::user()->name }} </a></li>
                  <li><a href="{{ asset('/logout') }}">退出</a></li>
              @endif
          </ul>
      </div>
    </nav>
  </header>
  <aside class="main-sidebar fixed " style="font-size: 14px;height: 100%;overflow :auto">

    
     @yield('content')

  <footer class="main-footer">
    <div class="pull-right hidden-xs">
      <b>Version</b> 0.1.0
    </div>
    <strong>Copyright &copy; 2017 </strong>
  </footer>

</body>
</html>
